
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置Source的AutoMapper
    /// </summary>
	internal static class SourceMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Source,SourceListDto>();
            configuration.CreateMap <SourceListDto,Source>();

            configuration.CreateMap <SourceEditDto,Source>();
            configuration.CreateMap <Source,SourceEditDto>();

        }
	}
}
